package com.ruoyi.platform.mapper;

import java.util.List;
import com.ruoyi.platform.domain.ActivityRelations;

/**
 * 活动关联Mapper接口
 * 
 * @author ruoyi
 * @date 2025-10-21
 */
public interface ActivityRelationsMapper 
{
    /**
     * 查询活动关联
     * 
     * @param relationId 活动关联主键
     * @return 活动关联
     */
    public ActivityRelations selectActivityRelationsByRelationId(String relationId);

    /**
     * 查询活动关联列表
     * 
     * @param activityRelations 活动关联
     * @return 活动关联集合
     */
    public List<ActivityRelations> selectActivityRelationsList(ActivityRelations activityRelations);

    /**
     * 新增活动关联
     * 
     * @param activityRelations 活动关联
     * @return 结果
     */
    public int insertActivityRelations(ActivityRelations activityRelations);

    /**
     * 修改活动关联
     * 
     * @param activityRelations 活动关联
     * @return 结果
     */
    public int updateActivityRelations(ActivityRelations activityRelations);

    /**
     * 删除活动关联
     * 
     * @param relationId 活动关联主键
     * @return 结果
     */
    public int deleteActivityRelationsByRelationId(String relationId);

    /**
     * 批量删除活动关联
     * 
     * @param relationIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteActivityRelationsByRelationIds(String[] relationIds);
}
